package com.sto.common.handler;

import org.springframework.stereotype.Component;

/**
 * @author ChenPeng
 * @since 2022-07-14 22:30
 */
@Component
public class ZhangSanHandler implements Handler {
    @Override
    public void AAA(String name) {
        System.out.println(name + "完成任务");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        Factory.register("张三",this);
    }
}
